<html>
 <head>
 </head>
 <body>
  <script language="JavaScript">
  
  function Test() {
      var result = plugin.invoke("<QueryStatus />");
      alert(result);
      }
      
    /* instantiate the plugin */
    var plugin = document.createElement("object");
    plugin.setAttribute("type", "application/x-itst-activex");
    plugin.setAttribute("progid", "prodown.GenRSJ");
    
    document.body.appendChild(plugin);
    
    window.setTimeout("Test()", 100);
      
  </script>    
  
  <button onclick="Test()">Test</button>
 </body>
</html>